package demo1;

public class Animal {
    String name;
    public Animal(String name){
        this.name = name;
    }
    public void Eat(){
        System.out.println(name+" 正在吃！");
    }
}
